#include "main.h"

char * getName (char * strName)
{
	char * pos;
	pos = strName;	pos += (strlen(strName)-1);
	while (pos[0] != '\\')	{	
		if (pos == strName)	{	
			pos -= 1;
			break;	
		}	
		pos -= 1;	
	}
	pos += 1;	
	return pos;
}